package com.base.pig.service.impl;


import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.base.pig.entity.SensorParams;
import com.base.pig.mapper.SensorCheckAlarmMapper;
import com.base.pig.mapper.SensorParamsMapper;
import com.base.pig.service.SensorParamsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.function.Function;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author yjh
 * @since 2022-11-18
 */
@Service
public class SensorParamsServiceImpl extends ServiceImpl<SensorParamsMapper, SensorParams> implements SensorParamsService {

    @Autowired
    private SensorParamsMapper sensorParamsMapper;
    @Override
    public List<Map<String, Object>> getSensorParams(String sncode, String attributeCode, String date) {
        return sensorParamsMapper.getSensorParams(sncode,  attributeCode,  date);
    }
}
